﻿using AngleSharp;
using Lk.Common;
using Lk.Common.Helper;
using System;
using System.IO;

namespace Lk.Repositories
{
    public class BaseDBConfig
    {

         public static string ConnectionStringTwo =  new AppConfigurtaionServices().GetAppSettings<ApplicationConfiguration>("ConnectionStrings", "appsettings.json").SqlServerConnection;//"server=.;uid=sa;pwd=sa;database=BlogDB";
    
        //第二种获取配置文件方式
        public static string ConnectionString = ConfigHelper.GetSection("ConnectionStrings", "SqlServerConnection");


    }
}
